<html>
<body>
<script>
for(var a=location.search.replace(/^\?/,"").split(/\&/),b=a.length,c,d,e=[],f,g=0;g<b;++g){var h=a[g];if(h.indexOf("type=")===0)h.replace(/type=/,"");else if(h.indexOf("query=")===0)for(var i=h.replace(/query=/,"").split("|"),j=0,k;j<i.length;++j){if(k=i[j]){f=k.match(/([^\=]*)=(.*)/);e.push(f?[decodeURIComponent(f[1]),decodeURIComponent(f[2])]:[decodeURIComponent(k)])}}else if(h.indexOf("method=")===0)d=h.replace("method=","");else if(h.indexOf("url=")===0)c=decodeURIComponent(h.replace("url=",""))}
if(!c)throw Error("argument url is not defined!");if(!c.match(/^((?:(?:(?:[a-zA-Z]+)?\:\/\/(?:(?:[^\/\:\@\?\#]+)(?:\:(?:[^\/\:\@\?\#]+))?\@)?[^\/\:\@\?\#]+(?:\.[^\/\:\@\?\#])*\.?(?:\:\d+)?)?)?(?:\/(?:[^\/\?\#]+(?:\/[^\/\?\#]+)*\/?)?)?)((?:\?[^\?\#]*)?)((?:\#[^\#]*)?)$/))throw Error("wrong format of argument url!");var l=document.createElement("form");l.action=c;l.method=d===undefined?"POST":d;l.acceptCharset="utf-8";
for(g=0;g<e.length;++g){var m=document.createElement("input");m.type="hidden";m.name=e[g][0];m.value=e[g][1]||"";l.appendChild(m)}document.body.appendChild(l);l.submit();
</script>
</body>
</html>